# coding: utf8
from .home import home_blueprint
from .admin import admin_blueprint
from .run import app
from flask import render_template


app.register_blueprint(home_blueprint)
app.register_blueprint(admin_blueprint, url_prefix='/admin')


@app.errorhandler(404)
def page_not_found(error):
    return render_template('public/404.html'), 404
